package UI.Ejercicio18;

import java.awt.*;
public class Cuadrado implements IFiguraGeometrica {
	private int y;
	private int x;
	public Cuadrado(int coorX, int coorY){
		this.x=coorX;
		this.y=coorY;
	}
	@Override
	public void dibujar(Graphics g) {
			g.drawRect(this.x, this.y, 50, 50);
	}
}